//Created by Andre 
#ifndef INSTRUCTIONS_H_
#define INSTRUCTIONS_H_

#include <iostream>
#include <string>
#include <stdexcept>
#include <vector>
#include <sstream>

//other types


using namespace std;

class Instructions{
public:
	Instructions()
	{
		instructions = vector<string>();
	}
	Instructions(string inst)
	{
		instructions = vector<string>();
		addInstruction(inst);
	}
		
	void addInstruction(string inst)
	{
		instructions.push_back(inst);
	}
	
	string getInstructions()
	{
		// Source of converting int to string:
		//http://www.ehow.com/how_8093444_convert-int-string-c.html
		std::stringstream strOut;
		
		for(int i =0;i<instructions.size();i++)
		{
			strOut<<instructions[i]<<"\n";
		}
		
		return strOut.str();
	}

	vector<string> getInstructionVector()
	{
		return instructions;
	}
private:
	vector<string> instructions;
};

#endif //MENU_H_
